<%@include file="cabecera.jsp"%>

<meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
  
    <title>Bootstrap, from Twitter</title>

    <script src="js/jquery-1.10.2.js"></script>
    <script src="js/jquery-ui-1.10.3.js"></script>
    <script src="js/bootstrap.js"></script>
    
    <!-- Le styles -->
    <link href="css/bootstrap.css" rel="stylesheet">    
    <link href="css/bootstrap-responsive.css" rel="stylesheet">
    <link href="css/bootswatch.css" rel="stylesheet">
    <link href="css/jquery-ui-1.10.3.css" rel="stylesheet">
  

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->


<p><strong>Listado de Comentarios en Salas</strong></p>

<form id="form1" name="form1" method="post" action="ListarComentariosServlet">
  <p>Buscar: 
    <label>
    <input type="text" name="nombre" id="nombre" />
    </label>
    <label>
    <input type="submit" name="button"  id="button1" value="Buscar" />
    </label>    
    <label>
    <input type="button" name="button" onclick="myfunc()" id="button2" value="Insertar" />
    </label>    
  </p>
</form>

<script type="text/javascript">
function myfunc(){
	window.open("RegistrarComentario.jsp","_self")
	
}
</script>

<%@include file="ListarComentarios.jsp"%>
<%@include file="pie.jsp"%>